﻿//消息弹窗
function message(content, width, height) {
    layer.open({
        type: 2,
        shadeClose: true,
        title: false,
        maxmin: false,                  //开启最大化最小化按钮
        closeBtn: 0,
        skin: 'customclass',
        area: [width, height],
        content: content
    });
}

//支付弹窗
function payment(content, width, height) {
    layer.open({
        type: 2,
        shadeClose: true,
        title: false,
        maxmin: false,                  //开启最大化最小化按钮
        closeBtn: 0,
        skin: 'customclass',
        area: [width, height],
        content: content
    });
}

function other(content, width, height) {
    layer.open({
        type: 2,
        shadeClose: true,
        title: false,
        maxmin: false,                  //开启最大化最小化按钮
        closeBtn: 0,
        skin: 'customclass',
        area: [width, height],
        content: content
    });
}


$(function jurisdiction() {
    var url = window.location.pathname;
    if (url != "/login.html" && url != "http://www.collect.loc/") {
     //   parent.parent.window.location.href = "login.html";
    }
})